package com.example.service;

import com.example.entity.StuInformation;
import com.example.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cyk
 * @since 2022-02-19
 */
@Service
public interface StudentService extends IService<Student> {

    public Student studentById(Long id);

    boolean updateStudent(Student student);

    int saveStudent(Long userId);

    int deleteStudent(Long id);

    public StuInformation stuInformation(Long id);
}
